package com.sgcc.epri.dcloud.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.List;

@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("${dm.private-schema-name}.SG_OBJECTINDEX_ORC_B")
public class DataMaintenance {


    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private String dkyCode; //-- 电科院参数

    private String nrCode; // -- 南瑞参数

    private String parentId; // -- 引用本表id

    private String title;

    private String level;

    private String sort;

    @TableField(exist = false)
    private List<DataMaintenance> children;
}
